<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    const strArr = [
      'hello',
      'wolrd',
      'nihao',
      'chifan'
    ]

    const targets = ['h', 'w', '0']

    // 要求：将 strArr 中以 targets 数组中字符串开头的所有单词找出来，组成新数组
    // ['hello', 'wolrd']

    
  </script>
</body>
</html>